import request from '@/utils/request'

// 查询事件临时统计列表
export function listEventProvisionalStatistics(query) {
  return request({
    url: '/event/eventProvisionalStatistics/list',
    method: 'get',
    params: query
  })
}

// 查询事件临时统计详细
export function getEventProvisionalStatistics(id) {
  return request({
    url: '/event/eventProvisionalStatistics/' + id,
    method: 'get'
  })
}

// 新增事件临时统计
export function addEventProvisionalStatistics(data) {
  return request({
    url: '/event/eventProvisionalStatistics',
    method: 'post',
    data: data
  })
}

// 修改事件临时统计
export function updateEventProvisionalStatistics(data) {
  return request({
    url: '/event/eventProvisionalStatistics',
    method: 'put',
    data: data
  })
}

// 删除事件临时统计
export function delEventProvisionalStatistics(id) {
  return request({
    url: '/event/eventProvisionalStatistics/' + id,
    method: 'delete'
  })
}
